import service from '@/utils/request'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service
//周转租赁收入合同变更签订查询
const request = {
    //基础信息查询
    findByIdBasic (id) {
        return httpGet({
            url: `/contract/CtConveyancePrepsdarationSigndController/findByIdBasic/${id}`,
            headers: {
                'Content-Type': 'application/x-www-form-urlencoded'
            }
        })
    },
    //主体信息查询
    findByIdSubject (id) {
        return httpGet({
            url: `/contract/CtConveyancePrepsdarationSigndController/findByIdSubject/${id}`,
            headers: {
                'Content-Type': 'application/x-www-form-urlencoded'
            }
        })
    },
    //合同清单查询
    findByIdList (id) {
        return httpGet({
            url: `/contract/CtConveyancePrepsdarationSigndController/findByIdList/${id}`,
            headers: {
                'Content-Type': 'application/x-www-form-urlencoded'
            }
        })
    },

    //合同条款查询
    // findByClause (id) {
    //     return httpGet({
    //         url: `/contract/CtConveyancePrepsdarationSigndController/findByIdClause/${id}`,
    //         headers: {
    //             'Content-Type': 'application/x-www-form-urlencoded'
    //         }
    //     })
    // },

    //附件信息查询
    findByIdEnclosure (id) {
        return httpGet({
            url: `/contract/CtConveyancePrepsdarationSigndController/findByIdEnclosure/${id}`,
            headers: {
                'Content-Type': 'application/x-www-form-urlencoded'
            }
        })
    },
    //审核历史查询
    findByIdExamine (id) {
        return httpGet({
            url: `/contract/CtConveyancePrepsdarationSigndController/findByIdExamine/${id}`,
            headers: {
                'Content-Type': 'application/x-www-form-urlencoded'
            }
        })
    },
    //变更历史查询
    findByIdChange (id) {
        return httpGet({
            url: `/contract/CtConveyancePrepsdarationSigndController/findByIdChange/${id}`,
            headers: {
                'Content-Type': 'application/x-www-form-urlencoded'
            }
        })
    },

}

export default request
